/*
 * =====================================================================================
 *
 *       Filename:  vector_rbegin.cpp
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  05/14/2011 09:44:24 AM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  YOUR NAME (), 
 *        Company:  
 *
 * =====================================================================================
 */
// vector::rbegin/rend
#include <iostream>
#define vector Vector
#include "Vector.h"
//#include <vector>
using namespace std;

int main ()
{
	vector<int> myvector;
	for (int i=1; i<=5; i++) myvector.push_back(i);

	cout << "myvector contains:";
	vector<int>::reverse_iterator rit;
	for ( rit=myvector.rbegin() ; rit < myvector.rend(); ++rit )
		cout << " " << *rit;

	cout << endl;

	return 0;
}


